package com.qing.picture.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class ThreadPoolConfigProperties {

    @Value("${thread.core-size}")
    private Integer coreSize;
    @Value("${thread.max-size}")
    private Integer maxSize;
    @Value("${thread.keep-alive-time}")
    private Integer keepAliveTime;
}
